<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>text</title>
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
</head>
<body>
<div id="app">
    {{msg}}
    <p v-text="msg">
        {{msg}}
    </p>

    <p v-html="msg">
        {{msg}}
    </p>

</div>

</body>
<script>
    new Vue({
        el:"#app",
        data:{
            msg:"<h1>helloWorld</h1>"

        },
        methods:{

        }
    });

</script>
</html>